{% extends "index.html" %}

{% block content %}
<h2>{{ article.title }}</h2>
<div>
{{ article.body }}
</div>
<div>
{{ article.more }}
</div>

{% for comment in article.comment_set.all %}
	<hr />
	<div class="comment">
		{{ comment.body }}
	</div>
{% endfor %}

<form method="post" action="/addcomment/{{ article.slug }}/">
	<h2>Add comment:</h2>
	<textarea name="comment_text"></textarea>
	<input type="submit" />
</form>
{% endblock %}